<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Nametext')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
           <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area">
                <select class="province form-control" name="row[province]" data-url="ajax/area" data-value="{$row.province|htmlentities}"></select>
                <select class="city form-control" name="row[city]" data-url="ajax/area" data-value="{$row.city|htmlentities}"></select>
                <select class="area form-control" name="row[area]" data-url="ajax/area" data-value="{$row.area|htmlentities}"></select>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addresstext')}:</label>
        <div class="col-xs-12 col-sm-8">
             <div class="input-group">
                <input id="c-addresstext" data-rule="" class="form-control" name="row[addresstext]" type="text" value="{$row.addresstext|htmlentities}">
                <span  class="input-group-btn" style=" padding:0 10px; border:1px solid #ccc; border-left:none; font-size:14px; cursor:pointer; background:#f7f7f7 " data-toggle="addresspicker">
                    地图查询经纬度
              </span>
            </div>
            
            
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Longitudetext')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-longitudetext" data-rule="" data-toggle="addresspicker" class="form-control" name="row[longitudetext]" type="text" value="{$row.longitudetext|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Latitudetext')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-latitudetext" data-rule="" data-toggle="addresspicker"  class="form-control" name="row[latitudetext]" type="text" value="{$row.latitudetext|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phonetext')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phonetext" data-rule="required" class="form-control" name="row[phonetext]" type="text" value="{$row.phonetext|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logoavatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-logoavatar" data-rule="" class="form-control" size="50" name="row[logoavatar]" type="text" value="{$row.logoavatar|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-logoavatar" class="btn btn-danger faupload" data-input-id="c-logoavatar" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-logoavatar"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-logoavatar" class="btn btn-primary fachoose" data-input-id="c-logoavatar" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-logoavatar"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-logoavatar"></ul>
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coverpicimages')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-coverpicimages" data-rule="" class="form-control" size="50" name="row[coverpicimages]" type="text" value="{$row.coverpicimages|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-coverpicimages" class="btn btn-danger faupload" data-input-id="c-coverpicimages" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-coverpicimages"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-coverpicimages" class="btn btn-primary fachoose" data-input-id="c-coverpicimages" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-coverpicimages"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-coverpicimages"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_ids" data-rule="required" data-source="user/group/index" data-multiple="true" class="form-control selectpage" name="row[group_ids]" type="text" value="{$row.group_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_code" data-rule="" disabled="disabled" class="form-control" name="row[user_code]" type="text" value="{$row.user_code|htmlentities}">
        </div>
    </div>
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_password')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_password" data-rule="" class="form-control" name="row[user_password]" type="text" value="{$row.user_password|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qrcodeimage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-qrcodeimage" data-rule="" class="form-control" size="50" name="row[qrcodeimage]" type="text" value="{$row.qrcodeimage|htmlentities}">
                <!--<div class="input-group-addon no-border no-padding">-->
                <!--    <span><button type="button" id="faupload-qrcodeimage" class="btn btn-danger faupload" data-input-id="c-qrcodeimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-qrcodeimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>-->
                <!--    <span><button type="button" id="fachoose-qrcodeimage" class="btn btn-primary fachoose" data-input-id="c-qrcodeimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>-->
                <!--</div>-->
                <span class="msg-box n-right" for="c-qrcodeimage"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-qrcodeimage"></ul>
        </div>
    </div>
     <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="" class="form-control" name="row[weigh]" type="text" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>